package com.nanjia.boot.batch_stock.converter;

import com.nanjia.boot.batch_stock.model.entity.WarehouseBatchStock;
import com.nanjia.boot.batch_stock.model.form.WarehouseBatchStockForm;
import org.mapstruct.Mapper;

/**
 * 库存记录对象转换器
 *
 * @author 周洋
 * @since 2025-08-22 11:27
 */
@Mapper(componentModel = "spring")
public interface WarehouseBatchStockConverter{

    WarehouseBatchStockForm toForm(WarehouseBatchStock entity);

    WarehouseBatchStock toEntity(WarehouseBatchStockForm formData);
}